Automattic\Jetpack_Boost\Lib\Viewport S

Total Complexity 31
Dependencies 3
Dependents 0
Total lines 265
Lines of code 123
Logical lines of code 60
Comment lines 81
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
pick_viewport()
A
49 13 31
get_max_viewport()
S
56 4 20
viewport_tracker()
S
51 3 32
get_viewport_size()
S
56 4 17
get_default_viewport_size_for_device()
S
61 4 12
init()
S
68 2 8
get_default_viewport_sizes()
S
79 1 3